<template>
  <div>
    <h2>请选择你喜欢的专栏：</h2>
    <input value="科幻" type="checkbox" v-model="hobby" />科幻
    <input value="喜剧" type="checkbox" v-model="hobby" />喜剧
    <input value="动漫" type="checkbox" v-model="hobby" />动漫
    <input value="冒险" type="checkbox" v-model="hobby" />冒险
    <input value="科技" type="checkbox" v-model="hobby" />科技
    <input value="军事" type="checkbox" v-model="hobby" />军事
    <input value="娱乐" type="checkbox" v-model="hobby" />娱乐
    <input value="奇闻" type="checkbox" v-model="hobby" />奇闻
    <br />
    <ul>
      <li v-for="item in hobby" :key="item">
        {{ item }}
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  name: "Day02VuecliDemoApp",

  data() {
    return {
      hobby: [],
    };
  },

  mounted() {},

  methods: {},
};
</script>

<style lang="scss" scoped>
</style>